import request from '@/utils/request'

// 添加
export function sysLanguageTextAdd(data) {
  return request({
    url: `/sys/sysLanguageText/add`,
    method: 'post',
    data,
  })
}

// 修改
export function sysLanguageTextUpdate(data) {
  return request({
    url: `/sys/sysLanguageText/update`,
    method: 'post',
    data,
  })
}


// 查询信息列表
export function sysLanguageTextQuery(data) {
  return request({
    url: `/sys/sysLanguageText/query`,
    method: 'post',
    data,
  })
}


// 查询详情
export function sysLanguageTextInfo(id) {
  return request({
    url: `/sys/sysLanguageText/info/${id}`,
    method: 'get',
  })
}


// 查询类型列表
export function getTypeAll() {
  return request({
    url: `/sys/sysLanguageText/getTypeAll`,
    method: 'get',
  })
}

// 删除
export function getTypeDel(id) {
  return request({
    url: `/sys/sysLanguageText/delete/${id}`,
    method: 'delete',
  })
}
